#include "MaterialBRDFNodeView.h"

#include "MaterialGraph/Node/MaterialGraphNodeViewModel.h"
#include "MaterialBRDFNodeViewModel.h"

void RMaterialBRDFNodeView::BindViewModel(TSharedObjectPtr<RMaterialGraphNodeViewModel> InModel)
{
    Super::BindViewModel(InModel);
    BRDFViewModel = InModel;
}

void RMaterialBRDFNodeView::RegenerateContentWidget()
{

    auto BaseColorLine=CreateColorInputPinWidget(
        RootWidget,RootWidget,0,1);

    auto MetallicLine=CreateVector1DInputPinWidgetWithLimit(
        RootWidget,RootWidget,1,2,0.0f,1.0f);

    auto RoughnessLine=CreateVector1DInputPinWidgetWithLimit(
        RootWidget,RootWidget,2,3,0.0f,1.0f);

    auto NormalLine= CreateSimpleInputPinWidget(RootWidget,RootWidget,3,4);
}
